package com.kws.tool.dto;

import com.kws.system.api.domain.RedirectConfigRq;
import io.swagger.annotations.ApiModelProperty;

/**
 * <b>QuerySignPageUrlRq</b>
 *
 * @description: QuerySignPageUrlRq <br>
 * @date: 2024/11/12 14:20 <br>
 * @author: lhm <br>
 * @version: 1.0 <br>
 */
public class QuerySignPageUrlRq {
    @ApiModelProperty(value = "是否需要登录打开链接:true - 需登录打开链接，false - 免登录")
    private boolean needLogin;

    @ApiModelProperty(value = "链接类型:1 - 预览链接（仅限查看，不能签署）， 2 - 签署链接")
    private Integer urlType;

    @ApiModelProperty(value = "指定客户端类型，当urlType为2（签署链接）时生效:H5 - 移动端适配,PC - PC端适配,ALL - 自动适配移动端或PC端(默认值)")
    private String clientType;

    @ApiModelProperty(value = "AppScheme，主要用于支付宝人脸认证重定向时跳回开发者自身App")
    private String appScheme;

    @ApiModelProperty(value = "重定向配置项")
    private RedirectConfigRq redirectConfig;

    public boolean isNeedLogin() {
        return needLogin;
    }

    public void setNeedLogin(boolean needLogin) {
        this.needLogin = needLogin;
    }

    public Integer getUrlType() {
        return urlType;
    }

    public void setUrlType(Integer urlType) {
        this.urlType = urlType;
    }

    public String getClientType() {
        return clientType;
    }

    public void setClientType(String clientType) {
        this.clientType = clientType;
    }

    public String getAppScheme() {
        return appScheme;
    }

    public void setAppScheme(String appScheme) {
        this.appScheme = appScheme;
    }

    public RedirectConfigRq getRedirectConfig() {
        return redirectConfig;
    }

    public void setRedirectConfig(RedirectConfigRq redirectConfig) {
        this.redirectConfig = redirectConfig;
    }
}
